package com.test.mapper;

import com.test.pojo.StudentBean;
import com.test.pojo.StudentBeanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {
    long countByExample(StudentBeanExample example);

    int deleteByExample(StudentBeanExample example);

    int deleteByPrimaryKey(Long sid);

    int insert(StudentBean record);

    int insertSelective(StudentBean record);

    List<StudentBean> selectByExample(StudentBeanExample example);

    StudentBean selectByPrimaryKey(Long sid);

    int updateByExampleSelective(@Param("record") StudentBean record, @Param("example") StudentBeanExample example);

    int updateByExample(@Param("record") StudentBean record, @Param("example") StudentBeanExample example);

    int updateByPrimaryKeySelective(StudentBean record);

    int updateByPrimaryKey(StudentBean record);
}